package com.hwpt.constant;

/**
 * 描述：
 * 作者：Mr.高
 * 日期：2025/9/2
 */

public class ExceptionMessageConstant {
    // 手机号相关
    public static final String PHONE_EMPTY = "手机号不能为空";
    public static final String PHONE_FORMAT_ERROR = "手机号格式错误（需为11位有效号码）";
    public static final String PHONE_EXIST = "手机号已注册，请直接登录";
    public static final String PHONE_NOT_REGISTERED = "手机号未注册，请先注册";

    // 验证码相关
    public static final String VERIFY_CODE_EMPTY = "验证码不能为空";
    public static final String VERIFY_CODE_ERROR = "验证码错误，请重新输入";
    public static final String VERIFY_CODE_EXPIRED = "验证码已过期，请重新获取";
    public static final String VERIFY_CODE_NOT_VERIFIED = "请先完成验证码验证";
    public static final String VERIFY_CODE_SEND_FREQUENTLY = "验证码发送过于频繁，请稍后重试";
    public static final String VERIFY_CODE_FORMAT_ERROR = "验证码格式错误（需为6位数字）";
    public static final String VERIFY_CODE_TYPE_EMPTY = "验证码类型不能为空";

    // 短信限流相关
    public static final String SMS_LIMIT_MINUTE = "每分钟仅可发送1条验证码，请稍后重试";
    public static final String SMS_LIMIT_DAY = "每天仅可发送6条验证码，请明天再试";

    // 密码相关
    public static final String PASSWORD_EMPTY = "密码不能为空";
    public static final String PASSWORD_CONFIRM_NOT_MATCH = "两次输入的密码不一致";
    public static final String PASSWORD_LENGTH_ERROR = "密码长度不能少于6位";
    public static final String PASSWORD_COMPLEXITY_ERROR = "密码需包含字母和数字，且长度不少于6位";
    public static final String LOGIN_PASSWORD_ERROR = "密码错误";
    public static final String RESET_PASSWORD_ERROR = "重置密码失败,请联系管理员";

    // 其他系统异常
    public static final String SYSTEM_BUSY = "系统繁忙，请稍后重试";
    public static final String LOGIN_ACCOUNT_NOT_EXIST = "登录账号不存在";

    //账号相关
    public static final String ACCOUNT_EMPTY = "账号不能为空";
    public static final String ACCOUNT_NOT_EXIST = "账号不存在";

    //JWT相关
    public static final String JWT_EMPTY = "JWT不能为空";
    public static final String JWT_INVALID = "JWT无效";
    public static final String JWT_EXPIRED = "JWT已过期";
    public static final String JWT_NOT_FOUND = "JWT不存在";
    //用户相关
    public static final String USER_ID_NOT_FOUND = "用户ID不存在";
    public static final String USER_INFO_EMPTY = "同步失败，用户信息不能为空";
    //反馈相关
    public static final String FEEDBACK_EMPTY = "反馈信息不能为空";
    public static final String FEEDBACK_NOT_EXIST = "反馈不存在";
    public static final String FEEDBACK_IMAGE_URL_ERROR = "反馈图片URL错误";


}

